<?php $this->load->view("general/header");?>
<div id="customer" class="page_">
    <div class="form">              
        <div class="form_header">Hitung Cicilan Mobil</div>
        <div class="form_header_right"></div>
        
        <div class="form_header_right1"></div>
        <div class="content_dataS">
        <form method="post" action="<?php echo site_url("sales/leasingCount");?>">
            <div class="content_dataL">
           		
               
                <!--<div class="row">
                    <div class="col1"></div>
                    <div class="col2"> 
                        <div class="errorField"></div>
                    </div>
                </div>-->
                
                 <!--<input type="button" value="Hitung Cicilan" class="button_red" onclick="javascript:fadeInHitung('#hitung', '0')"/>-->
                 <div id="hitung">
                 	<div class="row">
                    	<div class="col1"> Harga Mobil (Rp)</div>
                        <div class="col2"><input type="text" name="harga" id="cicilanHarga" onkeyup="javascript:cicilanHargaFunc(this.form, this.value)"/>	</div>
                        <div class="col3" id="cicilanHargaJava"></div>
                       
                        
                    </div>
                    <div class="row">
                    	<div class="col1"> DP (%)</div>
                        <div class="col2"><input type="text" name="depan" id="cicilanDp" onkeyup="javascript:cicilanDpFunc(this.form)"/></div>
                        <div class="col4" id="cicilanHargaDP"></div>
                    </div> 
                    <div class="row">
                        <div class="col1">Lama Cicilan</div>
                        <div class="col2">
                        	<select name="thn" style="width:100%" id="lamatahun" onchange="javascript:cicilanBunga(this.form)">							
                                <option selected="selected">::: Pilih Lama Cicilan(Tahun) :::</option>
                                <option value="1">1 Tahun</option>
                                <option value="2">2 Tahun</option>
                                <option value="3">3 Tahun</option>
                                <option value="4">4 Tahun</option>
                                <option value="5">5 Tahun</option>
                                <option value="6">6 Tahun</option>                                              
                   			</select> <input type="text" name="bungaHidden" id="bungaHid" style="display:none" /> </div>
                        <div class="col3" id="cicilanHargaDPJava"></div>
                	</div>
                    <div class="row">
                    	<div class="col1"> Bunga (%)</div>
                        <div class="col2"><input type="text" name="bunga" id="bunga" onkeyup="javascript:cicilanBunga(this.form)"/>
                        
                        </div>
                        <div class="col4" id="cicilanBungaJava"></div>
                    </div> 
                    <div class="row">
                        <div class="col1"></div>
                        <div class="col2"><input type="text" name="bungaHidden" id="bungaHid" style="visibility:hidden" /></div>
                         <div class="col3" id="cicilanDPBungaJava"></div>
                	</div>
                    <div class="row">
                    	<div class="col1"> Cicilan/bulan</div>
                        <div class="col2"><input type="text" name="bungaHidden" id="bungaHid" style="visibility:hidden" /><input type="text" name="dpHidden" id="dpHid" style="display:none" />
                        
                        </div>
                        <div class="col3" id="cicilanPerBulan"></div>
                    </div>
                    <div class="row">
                    	<div class="col1"> Rental Price</div>
                        <div class="col2"><input type="text" name="bungaHidde1n" id="bungaHid1" style="visibility:hidden" /><input type="text" name="dpHidden1" id="dpHid1" style="display:none" />
                        
                        </div>
                        <div class="col3" id="rentalPrice"></div>
                    </div>
                    <div  style="border-bottom:solid; width:90%"><strong>Pembayaran Awal</strong></div>
                    <div class="row">
                    	<div class="col1"> DP </div>
                        <div class="col2"><input type="text" name="dpBayar1" id="bayarDP" disabled="disabled"/></div>
                        <div class="col3" id="cicilanHargaDPBayar"></div>
                    </div>
                    <div class="row">
                    	<div class="col1">Angsuran </div>
                        <div class="col2"><input type="text" name="angsuran" id="angsuran" disabled="disabled"/> </div>
                        <div class="col3" id="angsuran1"></div>
                    </div>
                    <div class="row">
                    	<div class="col1">Adm </div>
                        <div class="col2"><input type="text" name="adm" id="adm" onkeyup="javascript:cicilanAdm(this.form)"/> </div>
                        <div class="col4" id="admUI"></div>
                    </div>
                    <div class="row">
                        <div class="col1"></div>
                        <div class="col2"><input type="text" name="cicilanPerBulanBayar" id="cicilanPerBulanBayar" style="visibility:hidden" /><input type="text" name="bayarHid" id="bayarHid" style="display:none" /></div>
                         <div class="col3" id="bayar"></div>
                	</div>
                    <div class="row">
                    	<div class="col1">Diskon </div>
                        <div class="col2"><input type="text" name="diskon" id="diskon" onkeyup="javascript:diskonFunc(this.form)"/> </div>
                        <div class="col4" id="diskonUI"></div>
                    </div>
                    <div class="row">
                        <div class="col1">Pembayaran Awal</div>
                        <div class="col2"><input type="text" name="hiddenTotal" id="hiddenTotal" style="visibility:hidden" /></div>
                        <div class="col3" id="bayarAkhir" align="right"></div>
                	</div>
                   
                 </div>
                              
            </div>


        </form>
        
        
    </div>
</div>
<?php $this->load->view("general/footer");?>